namespace ClassLibrary1
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("rms.goodstype")]
    public partial class goodstype
    {
        public int id { get; set; }

        [StringLength(255)]
        public string name { get; set; }

        public int? parentid { get; set; }

        [StringLength(255)]
        public string imageurl { get; set; }

        [Column(TypeName = "bit")]
        public bool? status { get; set; }

        [StringLength(5)]
        public string level { get; set; }

        [StringLength(20)]
        public string createuser { get; set; }

        [StringLength(20)]
        public string updateuser { get; set; }

        public DateTime? createtime { get; set; }

        public DateTime? updatetime { get; set; }

        public int? sort { get; set; }
    }
}
